<template>
  <div class="app-box">
    <Layout ref="runBox"
            title="卡校验"
            temp="Temp2"
            @handleSuccessMqttMessage="handleSuccessMqttMessage"
            :autoCommit="autoCommit"
            :ic="ic"
            :url="url"
            :readID="false"
            :readIC="false"></Layout>

  </div>
</template> 
<script>
import {
  log,
} from '@/utils/message'
import Layout from '../core/layout.vue'
import { GSAConstants } from '@/utils/access'

export default {
  components: { Layout },
  data () {
    return {
      ic: GSAConstants().TOPIC_VERIFY_CARD.ic,
      url: GSAConstants().TOPIC_VERIFY_CARD.url,
      autoCommit: false
    }
  },
  created () {
  },
  mounted () {
    // 清空提示信息
    // this.showMsg('')

    // const clientType = this.getters.getters.terminalDtl.clientType
    // if (clientType === 'CMSManualOSD') {
    //   this.ic = GSAConstants().TOPIC_MANUAL_OSD.ic
    // } else {
    //   this.ic = GSAConstants().TOPIC_MANUAL_SSD.ic
    // }
  },
  methods: {
    showMsg (msg, type) {
      this.$refs.runBox.showMsg(msg, type)
    }
  },
}
</script>

<style scoped>
.app-box {
  padding: 0px;
}
</style>